<?php

/* 添加专利内容页面 */
include_once '../common/Template.php';
session_start();
?>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
        <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js">
        </script>
    </head>
    <body>
        <?php
            if(isset($_SESSION['addResult'])){
                if($_SESSION['addResult']==true){
                    echo '<p>添加成功</p><br />';
                }else{
                    echo '<p>添加失败</p><br />';
                }
                unset($_SESSION['addResult']);
            }
        ?>
<form action="../../lib/biz/addImpl.php?action=Patent" method="post">
    <center>
    <table>
        <?php
                $temp = new Template();
                if(isset($_SESSION['Patent'])){
                    $temp->patentTemp($_SESSION['Patent']);
                }else{
                    $temp->patentTemp();
                }
                unset($_SESSION['Patent']);
            ?>
        <tr>
            <td></td>
            <td><input type="submit" value="添加"/></td>
        </tr>
    </table>
    </center>
</form>
    </body>
</html>
